package com.cskaoyan.mapper;

import com.cskaoyan.bean.MallAfterSale;
import com.cskaoyan.bean.MallAfterSaleExample;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;
import java.util.List;

public interface MallAfterSaleMapper {
    long countByExample(MallAfterSaleExample example);

    int deleteByExample(MallAfterSaleExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MallAfterSale record);

    int insertSelective(MallAfterSale record);

    List<MallAfterSale> selectByExample(MallAfterSaleExample example);

    MallAfterSale selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") MallAfterSale record, @Param("example") MallAfterSaleExample example);

    int updateByExample(@Param("record") MallAfterSale record, @Param("example") MallAfterSaleExample example);

    int updateByPrimaryKeySelective(MallAfterSale record);

    int updateByPrimaryKey(MallAfterSale record);

    int batchRecept(@Param("ids") ArrayList<Integer> ids);

    int batchReject(@Param("ids") ArrayList<Integer> ids);
}
